package com.xu.mapper;

import com.xu.pojo.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserCourseMapper {
    List<Course> querySelectCourse(int userId);
    int addUserCourse(@Param("userId") int userId, @Param("courseId") int courseId);
    int delUserCourse(@Param("userId") int userId, @Param("courseId") int courseId);
    int delallUserCourse();
}


